import requests

# 设置你的MP3文件路径
file_path = '遇见.mp3'

# 指定Flask服务器的上传接口URL
upload_url = 'http://localhost:5000/upload_mp3/sunyanzi'

# 准备文件上传的参数
files = {'file': open(file_path, 'rb')}

# 发送POST请求，上传文件
response = requests.post(upload_url, files=files)

# 打印服务器的响应
print(response.json())